package com.by.mapper;

import com.by.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User query(String name);
    int insert(User user);
    List<User> queryAll();
}
